<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        div {
            height : 700px;
            width : 1000px;
            margin : auto auto;
        }
    </style>
    <script src="../static/echarts.js"></script>
</head>
<body>
    <div id="main"></div>
    <script>
        var chartDom = document.getElementById("main");
        var myChart = echarts.init(chartDom);
        var option;
        option = {
            xAxis:{
                data:{{ xAxis|tojson }},
                axisLabel:{
                    interval:0
                }
            },
            yAxis:{},
            series:[{
                data:{{ valueData|tojson }},
                type:"bar"
            }],
        };
        myChart.setOption(option);
    </script>
</body>
</html>